#include "Assets.h"

Assets::Assets()
{
	//Load the Assets
	loadAssets();
}

Assets::~Assets()
{
	delete m_pEzreal_Idle;

	delete m_pGrass;
	delete m_pConcrete;
	delete m_pWater;
	delete m_pDirt;
	delete m_pMud;
	delete m_pWall;
	delete m_pDoor;
	delete m_pCrypt;
	delete m_pRock;

	delete m_pEnemy;
	delete m_pBossEnemy;
}

void Assets::loadAssets()
{
	//Creates the sprite for the character
	m_pEzreal_Idle			= new cSprite("Assets/Ezreal_Idle.png");

	//Stances of Ezreal

	//Walking

	//Standing

	//Attacking

	//Creates the sprites for the tiles
	m_pGrass			= new cSprite("Assets/grassTile.png");

	m_pConcrete			= new cSprite("Assets/concreteTile.png");

	m_pWater			= new cSprite("Assets/waterTile.png");

	m_pDirt				= new cSprite("Assets/dirtTile.png");
	
	m_pMud				= new cSprite("Assets/mudTile.png");

	m_pWall				= new cSprite("Assets/wall.png");

	m_pDoor				= new cSprite("Assets/door.png");
	
	//Creating the objects of the game
	m_pCrypt			= new cSprite("Assets/crypt.png");
	//m_pTombstone		= new cSprite("Assets/tombstone.png");
	m_pRock				= new cSprite("Assets/rock.png");
	//m_pFluxGenerator	= new cSprite("Assets/fluxGenerator.png");
	//m_pFountain		= new cSprite("Assets/fountain.png");

	//Creates enemy sprites
	m_pEnemy			= new cSprite("Assets/enemy.png");
	m_pBossEnemy		= new cSprite("Assets/bossEnemy.png");
}